package com.quwan.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.quwan.entity.TMemberBlackList;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.InsertProvider;

/**
*
*
* @author quan
* @date 2021-11-19 23:31
*/
 

public interface TMemberBlackListMapper extends BaseMapper<TMemberBlackList> {
    @Insert("insert into t_member_black_list(m_id,black_obj,status,un_lock)" +
            "values (#{mId} ,#{blackObj} ,#{status} ,#{unLock})" +
            "ON duplicate key update status =#{status} ")
    Integer findAndSetBlackList(TMemberBlackList tMemberBlackList);
}